﻿using System;
namespace Dong.Model
{
    /// <summary>
    /// Inventory:实体类
    /// </summary>
    [Serializable]
    public partial class Inventory
    {
        public Inventory()
        { }
        #region Model
        private int _inventoryid;
        private int? _productid;
        private int? _storeid;
        private int? _storeareaid;
        private int? _amount;
        private string _remark;
        private int _status = 0;
        private int _createuserid;
        private DateTime _createtime = DateTime.Now;
        private int? _lastupdateuserid;
        private DateTime? _lastupdatetime;
        /// <summary>
        /// 产品库存Id
        /// </summary>
        public int InventoryId
        {
            set { _inventoryid = value; }
            get { return _inventoryid; }
        }
        /// <summary>
        /// 产品Id
        /// </summary>
        public int? ProductId
        {
            set { _productid = value; }
            get { return _productid; }
        }
        /// <summary>
        /// 仓库Id
        /// </summary>
        public int? StoreId
        {
            set { _storeid = value; }
            get { return _storeid; }
        }
        /// <summary>
        /// 仓库区域Id
        /// </summary>
        public int? StoreAreaId
        {
            set { _storeareaid = value; }
            get { return _storeareaid; }
        }
        /// <summary>
        /// 产品数量
        /// </summary>
        public int? Amount
        {
            set { _amount = value; }
            get { return _amount; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 状态（0正常，1禁用）
        /// </summary>
        public int Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 创建者Id
        /// </summary>
        public int CreateUserId
        {
            set { _createuserid = value; }
            get { return _createuserid; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 最后一次修改者Id
        /// </summary>
        public int? LastUpdateUserId
        {
            set { _lastupdateuserid = value; }
            get { return _lastupdateuserid; }
        }
        /// <summary>
        /// 最后一次修改时间
        /// </summary>
        public DateTime? LastUpdateTime
        {
            set { _lastupdatetime = value; }
            get { return _lastupdatetime; }
        }
        #endregion Model
    }
}

